IAcadHatch2
TeighaX Interface of an area fill consisting of a pattern of lines
Supported Platforms: Windows only
                            
Object Inheritance
Members
These members are part of this object:
Methods- GetXData
 
- SetXData
 
- Delete
 
- GetExtensionDictionary
 
- ArrayPolar
 
- ArrayRectangular
 
- Highlight
 
- Copy
 
- Move
 
- Rotate
 
- Rotate3D
 
- Mirror
 
- Mirror3D
 
- ScaleEntity
 
- TransformBy
 
- Update
 
- GetBoundingBox
 
- IntersectWith
 
- SetPattern
 
- AppendOuterLoop
 
- AppendInnerLoop
 
- InsertLoopAt
 
- GetLoopAt
 
- Evaluate
 
- AppendOuterLoop
 
- AppendInnerLoop
 
- InsertLoopAt
 
Properties- Handle
 
- ObjectName
 
- ObjectID
 
- Application
 
- HasExtensionDictionary
 
- OwnerID
 
- Document
 
- TrueColor
 
- Layer
 
- Linetype
 
- LinetypeScale
 
- Visible
 
- PlotStyleName
 
- Lineweight
 
- Hyperlinks
 
- Material
 
- EntityTransparency
 
- Normal
 
- NumberOfLoops
 
- PatternType
 
- PatternName
 
- PatternAngle
 
- PatternScale
 
- PatternSpace
 
- ISOPenWidth
 
- PatternDouble
 
- Elevation
 
- AssociativeHatch
 
- HatchStyle
 
- GradientColor1
 
- GradientColor2
 
- GradientAngle
 
- GradientCentered
 
- GradientName
 
- HatchObjectType
 
- Area
 
- Origin
 
- BackgroundColor
 
 
- GetXData()
 
Void GetXData([in] BSTR AppName, [out] Pointer Type XDataType, [out] Pointer Type XDataValue)
                                                
Returns the extended data (XData) associated with an object.
 
 
- SetXData()
 
Void SetXData([in] VARIANT XDataType, [in] VARIANT XDataValue)
                                                
Sets the extended data (XData) associated with an object.
 
 
- Delete()
 
Void Delete( )
                                                
Deletes a specified object.
 
 
- GetExtensionDictionary()
 
IAcadDictionary* GetExtensionDictionary( )
                                                
Returns the extension dictionary associated with an object.
 
 
- ArrayPolar()
 
VARIANT ArrayPolar([in] Int NumberOfObjects, [in] Double AngleToFill, [in] VARIANT CenterPoint)
                                                
Not implemented. Creates an array of selected objects in a polar pattern.
 
 
- ArrayRectangular()
 
VARIANT ArrayRectangular([in] Int NumberOfRows, [in] Int NumberOfColumns, [in] Int NumberOfLevels, [in] Double DistBetweenRows, [in] Double DistBetweenCols, [in] Double DistBetweenLevels)
                                                
Not implemented. Creates an array of selected objects in a rectangular pattern.
 
 
- Highlight()
 
Void Highlight([in] Boolean HighlightFlag)
                                                
Not implemented. Highlights or removes highlight from an entity.
 
 
- Copy()
 
IDispatch* Copy( )
                                                
Copies a specified entity.
 
 
- Move()
 
Void Move([in] VARIANT FromPoint, [in] VARIANT ToPoint)
                                                
Moves an entity from one point to a second point.
 
 
- Rotate()
 
Void Rotate([in] VARIANT BasePoint, [in] Double RotationAngle)
                                                
Rotates an entity around a point.
 
 
- Rotate3D()
 
Void Rotate3D([in] VARIANT Point1, [in] VARIANT Point2, [in] Double RotationAngle)
                                                
Rotates an entity around a line defined by two points, where the direction of the axis if from the first point to the second point.
 
 
- Mirror()
 
IDispatch* Mirror([in] VARIANT Point1, [in] VARIANT Point2)
                                                
Not implemented. Mirrors an object around a line defined by two points.
 
 
- Mirror3D()
 
IDispatch* Mirror3D([in] VARIANT Point1, [in] VARIANT Point2, [in] VARIANT point3)
                                                
Not implemented. Mirrors an object around a plane defined by three points.
 
 
- ScaleEntity()
 
Void ScaleEntity([in] VARIANT BasePoint, [in] Double ScaleFactor)
                                                
Scales an object with respect to a base point and scale factor.
 
 
- TransformBy()
 
Void TransformBy([in] VARIANT TransformationMatrix)
                                                
Performs the specified transformation on an entity.
 
 
- Update()
 
Void Update( )
                                                
Not implemented. Updates the display of an entity.
 
 
- GetBoundingBox()
 
Void GetBoundingBox([out] Pointer Type MinPoint, [out] Pointer Type MaxPoint)
                                                
Returns the minimum and maximum point of an entity's bounding box.
 
 
- IntersectWith()
 
VARIANT IntersectWith([in] IDispatch* IntersectObject, AcExtendOptionShort option)
                                                
Returns coordinates of intersections with the (input) IntersectObject.
 
 
- SetPattern()
 
Void SetPattern([in] Int PatternType, [in] BSTR PatternName)
                                                
Specifies the pattern of a hatch.
 
 
- AppendOuterLoop()
 
Void AppendOuterLoop([in] VARIANT ObjectArray)
                                                
Adds the outer loop to a hatch.
 
 
- AppendInnerLoop()
 
Void AppendInnerLoop([in] VARIANT ObjectArray)
                                                
Adds an inner loop to a hatch.
 
 
- InsertLoopAt()
 
Void InsertLoopAt([in] Int Index, AcLoopTypeShort LoopType, [in] VARIANT ObjectArray)
                                                
Adds a loop at a specified index of a hatch.
 
 
- GetLoopAt()
 
Void GetLoopAt([in] Int Index, [out] Pointer Type ObjectArray)
                                                
Returns a loop at a specified index of a hatch.
 
 
- Evaluate()
 
Void Evaluate( )
                                                
Calculates and fills the pattern of a hatch.
 
 
- AppendOuterLoop()
 
Void AppendOuterLoop([in] VARIANT ObjectArray, [in] Boolean bCheckLoop)
                                                
Adds the outer loop to a hatch.
 
 
- AppendInnerLoop()
 
Void AppendInnerLoop([in] VARIANT ObjectArray, [in] Boolean bCheckLoop)
                                                
Adds an inner loop to a hatch.
 
 
- InsertLoopAt()
 
Void InsertLoopAt([in] Int Index, AcLoopTypeShort LoopType, [in] VARIANT ObjectArray, [in] Boolean bCheckLoop)
                                                
Adds a loop at a specified index of a hatch.
 
 
- Handle [ReadOnly]
 
BSTR Handle( )
                                                
Returns the handle of an object.
 
 
- ObjectName [ReadOnly]
 
BSTR ObjectName( )
                                                
Returns the TeighaX class name of an object.
 
 
- ObjectID [ReadOnly]
 
LONG_PTR ObjectID( )
                                                
Returns the object ID of an object.
 
 
- Application [ReadOnly]
 
IDispatch* Application( )
                                                
Returns the Application object.
 
 
- HasExtensionDictionary [ReadOnly]
 
Boolean HasExtensionDictionary( )
                                                
Returns whether an object has an associated extension dictionary.
 
 
- OwnerID [ReadOnly]
 
LONG_PTR OwnerID( )
                                                
Returns the object ID of the parent object.
 
 
- Document [ReadOnly]
 
IDispatch* Document( )
                                                
Returns the drawing to which an object belongs.
 
 
- TrueColor [ReadOnly]
 
IAcadAcCmColor* TrueColor( )
                                                
Specifies or returns the true color of an object.
 
 
- Layer [ReadOnly]
 
BSTR Layer( )
                                                
Specifies or returns the current layer of an object.
 
 
- Linetype [ReadOnly]
 
BSTR Linetype( )
                                                
Specifies or returns the current linetype of an object.
 
 
- LinetypeScale [ReadOnly]
 
ACAD_NOUNITS LinetypeScale( )
                                                
Specifies or returns the linetype scale factor of an object.
 
 
- Visible [ReadOnly]
 
Boolean Visible( )
                                                
Specifies or returns the visibility of an object or the application.
 
 
- PlotStyleName [ReadOnly]
 
BSTR PlotStyleName( )
                                                
Specifies or returns the plot style name of an object.
 
 
- Lineweight [ReadOnly]
 
ACAD_LWEIGHT Lineweight( )
                                                
Specifies or returns the lineweight of an object.
 
 
- Hyperlinks [ReadOnly]
 
IAcadHyperlinks* Hyperlinks( )
                                                
Assigns a hyperlink to an object and displays the hyperlink name and description (if one is specified).
 
 
- Material [ReadOnly]
 
BSTR Material( )
                                                
Specifies or returns the material of an object.
 
 
- EntityTransparency [ReadOnly]
 
BSTR EntityTransparency( )
                                                
Specifies the transparency of the object
 
 
- Normal [ReadOnly]
 
VARIANT Normal( )
                                                
Specifies or returns the x, y, and z coordinates of the normal direction vector.
 
 
- NumberOfLoops [ReadOnly]
 
Integer NumberOfLoops( )
                                                
Returns the number of loops in a hatch.
 
 
- PatternType [ReadOnly]
 
AcPatternType PatternType( )
                                                
Returns the pattern type of a hatch.
 
 
- PatternName [ReadOnly]
 
BSTR PatternName( )
                                                
Returns the pattern name of a hatch.
 
 
- PatternAngle [ReadOnly]
 
ACAD_ANGLE PatternAngle( )
                                                
Specifies or returns the pattern angle of a hatch.
 
 
- PatternScale [ReadOnly]
 
ACAD_NOUNITS PatternScale( )
                                                
Specifies or returns the pattern scale of a hatch.
 
 
- PatternSpace [ReadOnly]
 
Double PatternSpace( )
                                                
Specifies or returns the pattern spacing of a hatch.
 
 
- ISOPenWidth [ReadOnly]
 
AcISOPenWidth ISOPenWidth( )
                                                
Specifies or returns the ISO pen width of an ISO hatch pattern.
 
 
- PatternDouble [ReadOnly]
 
Boolean PatternDouble( )
                                                
Specifies or returns whether cross-hatching is used to create a double pattern.
 
 
- Elevation [ReadOnly]
 
Double Elevation( )
                                                
Specifies or returns the elevation of the hatch relative to the z-axis of the object's coordinate system.
 
 
- AssociativeHatch [ReadOnly]
 
Boolean AssociativeHatch( )
                                                
Specifies or returns whether a hatch updates automatically when its boundary changes.
 
 
- HatchStyle [ReadOnly]
 
AcHatchStyle HatchStyle( )
                                                
Specifies or returns the hatch style.
 
 
- GradientColor1 [ReadOnly]
 
IAcadAcCmColor* GradientColor1( )
                                                
Specifies or returns the gradient start color of a hatch.
 
 
- GradientColor2 [ReadOnly]
 
IAcadAcCmColor* GradientColor2( )
                                                
Specifies or returns the gradient end color of a hatch.
 
 
- GradientAngle [ReadOnly]
 
ACAD_ANGLE GradientAngle( )
                                                
Specifies or returns the gradient angle of a hatch.
 
 
- GradientCentered [ReadOnly]
 
Boolean GradientCentered( )
                                                
Specifies or returns whether the gradient is centered.
 
 
- GradientName [ReadOnly]
 
BSTR GradientName( )
                                                
Specifies or returns the pattern name of the gradient.
 
 
- HatchObjectType [ReadOnly]
 
AcHatchObjectType HatchObjectType( )
                                                
Specifies or returns the hatch type.
 
 
- Area [ReadOnly]
 
Double Area( )
                                                
Returns the area of the hatch.
 
 
- Origin [ReadOnly]
 
VARIANT Origin( )
                                                
Specifies or returns the coordinates for the origin of the hatch pattern.
 
 
- BackgroundColor [ReadOnly]
 
IAcadAcCmColor* BackgroundColor( )
                                                
Returns the hatch background color.