Share

Autodesk.AutoCAD.GraphicsInterface.VisualStyleProperty Enumeration

Description

This .NET class wraps the ObjectARX enum AcGiVisualStyleProperties::Property.

It describes the properties that can be set/get on a visual style.

C#

public enum VisualStyleProperty {
  BloomEffect = 0x23,
  BloomIntensity = 50,
  BloomRadius = 0x2b,
  BloomThreshold = 0x2a,
  BlurAmount = 0x25,
  BlurEffect = 0x21,
  Color = 0x33,
  DepthOfField = 0x37,
  DisplayBrightness = 0x1a,
  DisplayShadowType = 0x1b,
  DisplayStyle = 0x19,
  EdgeColor = 15,
  EdgeCreaseAngle = 13,
  EdgeHaloGap = 0x16,
  EdgeHidePrecision = 0x18,
  EdgeIntersectionColor = 9,
  EdgeIntersectionLinePattern = 12,
  EdgeIsolines = 0x17,
  EdgeJitterAmount = 0x13,
  EdgeModel = 7,
  EdgeModifier = 14,
  EdgeObscuredColor = 10,
  EdgeObscuredLinePattern = 11,
  EdgeOpacity = 0x10,
  EdgeOverhang = 0x12,
  EdgeSilhouetteColor = 20,
  EdgeSilhouetteWidth = 0x15,
  EdgeStyle = 8,
  EdgeTexturePath = 0x36,
  EdgeWidth = 0x11,
  EdgeWiggleAmount = 0x35,
  FaceAdjustment = 0x2d,
  FaceColorMode = 2,
  FaceLightingModel = 0,
  FaceLightingQuality = 1,
  FaceModifier = 3,
  FaceMonoColor = 6,
  FaceOpacity = 4,
  FaceSpecular = 5,
  FocusDistance = 0x38,
  FocusWidth = 0x39,
  InvalidProperty = -1,
  LightingEnabled = 30,
  MonoEffect = 0x20,
  PastelEffect = 0x24,
  PencilAngle = 0x26,
  PencilColor = 0x29,
  PencilEffect = 0x22,
  PencilPattern = 40,
  PencilScale = 0x27,
  PostBrightness = 0x2f,
  PostContrast = 0x2e,
  PosterizeEffect = 0x1f,
  PostPower = 0x30,
  PropertyCount = 0x3a,
  TintColor = 0x2c,
  TintEffect = 0x31,
  Transparency = 0x34,
  UseDrawOrder = 0x1c,
  ViewportTransparency = 0x1d
}

Visual Basic

Public Enum VisualStyleProperty
  BloomEffect = &H23
  BloomIntensity = 50
  BloomRadius = &H2b
  BloomThreshold = &H2a
  BlurAmount = &H25
  BlurEffect = &H21
  Color = &H33
  DepthOfField = &H37
  DisplayBrightness = &H1a
  DisplayShadowType = &H1b
  DisplayStyle = &H19
  EdgeColor = 15
  EdgeCreaseAngle = 13
  EdgeHaloGap = &H16
  EdgeHidePrecision = &H18
  EdgeIntersectionColor = 9
  EdgeIntersectionLinePattern = 12
  EdgeIsolines = &H17
  EdgeJitterAmount = &H13
  EdgeModel = 7
  EdgeModifier = 14
  EdgeObscuredColor = 10
  EdgeObscuredLinePattern = 11
  EdgeOpacity = &H10
  EdgeOverhang = &H12
  EdgeSilhouetteColor = 20
  EdgeSilhouetteWidth = &H15
  EdgeStyle = 8
  EdgeTexturePath = &H36
  EdgeWidth = &H11
  EdgeWiggleAmount = &H35
  FaceAdjustment = &H2d
  FaceColorMode = 2
  FaceLightingModel = 0
  FaceLightingQuality = 1
  FaceModifier = 3
  FaceMonoColor = 6
  FaceOpacity = 4
  FaceSpecular = 5
  FocusDistance = &H38
  FocusWidth = &H39
  InvalidProperty = -1
  LightingEnabled = 30
  MonoEffect = &H20
  PastelEffect = &H24
  PencilAngle = &H26
  PencilColor = &H29
  PencilEffect = &H22
  PencilPattern = 40
  PencilScale = &H27
  PostBrightness = &H2f
  PostContrast = &H2e
  PosterizeEffect = &H1f
  PostPower = &H30
  PropertyCount = &H3a
  TintColor = &H2c
  TintEffect = &H31
  Transparency = &H34
  UseDrawOrder = &H1c
  ViewportTransparency = &H1d
End Enum

Members

Members Description
DisplayBrightness = 0x1a Double indicating brightness.
DisplayShadowType = 0x1b See Autodesk.AutoCAD.GraphicsInterface.VSDisplayShadowType Enumeration.
DisplayStyle = 0x19 See Autodesk.AutoCAD.GraphicsInterface.VSDisplayStyles Enumeration.
EdgeColor = 15 AcCmColor representing the color applied to edges.
EdgeCreaseAngle = 13 Double, in degrees, indicating the angle threshold above which facet edges between adjoining facets will be displayed.
EdgeHaloGap = 0x16 Int from 0 to 100 representing the halo gap.
EdgeHidePrecision = 0x18 Bool indicating hide precision enabled. True if enabled, false otherwise.
EdgeIntersectionColor = 9 AcCmColor representing the color applied to intersection edges.
EdgeIntersectionLinePattern = 12 EdgeLinePattern applied to intersection edges. See EdgeLinePattern summary.
EdgeIsolines = 0x17 Unsigned short, between 0 and 2047, indicating the number of isolines to display for curved surfaces.
EdgeJitterAmount = 0x13 See Autodesk.AutoCAD.GraphicsInterface.VSEdgeJitterAmount Enumeration.
EdgeModel = 7 See Autodesk.AutoCAD.GraphicsInterface.VSEdgeModel Enumeration.
EdgeModifier = 14 See Autodesk.AutoCAD.GraphicsInterface.VSEdgeModifiers Enumeration.
EdgeObscuredColor = 10 AcCmColor representing the color applied to obscured edges.
EdgeObscuredLinePattern = 11 EdgeLinePattern applied to obscured edges. See Autodesk.AutoCAD.GraphicsInterface.VSEdgeLinePattern Enumeration.
EdgeOpacity = 0x10 Double indicating the level of edge opacity in the range from 0.0 to 1.0, with 1.0 representing full opacity (0% transparent) and 0.0 representing no opacity (100% transparent).
EdgeOverhang = 0x12 Int representing the amount, in pixels, that edges should overhang their start and end points.
EdgeSilhouetteColor = 20 AcCmColor representing the color applied to silhouette edges.
EdgeSilhouetteWidth = 0x15 Short representing silhouette edge width in pixels.
EdgeStyle = 8 See Autodesk.AutoCAD.GraphicsInterface.VSEdgeStyles Enumeration.
EdgeWidth = 0x11 Int representing edge width in pixels.
FaceColorMode = 2 See Autodesk.AutoCAD.GraphicsInterface.VSFaceColorMode Enumeration.
FaceLightingModel = 0 See Autodesk.AutoCAD.GraphicsInterface.VSFaceLightingModel Enumeration.
FaceLightingQuality = 1 See Autodesk.AutoCAD.GraphicsInterface.VSFaceLightingQuality Enumeration.
FaceModifier = 3 See Autodesk.AutoCAD.GraphicsInterface.VSFaceModifiers Enumeration.
FaceMonoColor = 6 AcCmColor representing the color applied to produce a "monochromatic" effect on faces.
FaceOpacity = 4 Double indicating the level of face opacity in the range from 0.0 to 1.0, with 1.0 representing full opacity (0% transparent) and 0.0 representing no opacity (100% transparent).
FaceSpecular = 5 Double representing the specular highlight amount (indicating reflection and shininess values) of the material that is applied to faces.
InvalidProperty = -1 Invalid property.
PropertyCount = 0x3a The number of visual style properties.

Was this information helpful?