The FillPattern type exposes the following members.

Constructors

  NameDescription
Public methodFillPattern()()()()
Creates a fill pattern with FillPatternHostOrientation::FPORIENTATION_TO_VIEW and FillPatternTarget::FPTARGET_NONE.
Public methodFillPattern(FillPattern)
Constructs a new copy of the input FillPattern object.
Public methodFillPattern(String, FillPatternTarget, FillPatternHostOrientation)
Creates a fill pattern based on the given name, FillPatternTarget and FillPatternHostOrientation.
Public methodFillPattern(String, FillPatternTarget, FillPatternHostOrientation, Double, Double)
Creates a simple hatch fill pattern based on the given name, angle, spacing, FillPatternTarget and FillPatternHostOrientation.
Public methodFillPattern(String, FillPatternTarget, FillPatternHostOrientation, Double, Double, Double)
Creates a simple crosshatch fill pattern based on the given name, angle, spacing, FillPatternTarget and FillPatternHostOrientation.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the FillPattern
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpandDots
Corrects pattern dots to make them be drawn properly for Revit.
Public methodGetFillGrid
Gets the specified fill grid.
Public methodGetFillGrids
Gets all fill grids in this fill pattern
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEqual
Check if the contents and the name of the fill pattern is the same as the name and contents of this fill pattern.
Public methodSetFillGrid
Sets the fill grid.
Public methodSetFillGrids
Set the fill grids in this fill pattern.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyGridCount
Gets the count of the fill grids in this fill pattern.
Public propertyHostOrientation
Orientation to host layer.
Public propertyIsSolidFill
Check if the fill pattern is a solid fill pattern.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyLengthPerArea
Gets length of all lines that placed on unit area.
Public propertyLinesPerLength
Gets the number of solid lines that placed in unit length.
Public propertyName
The name of the fill pattern.
Public propertyStrokesPerArea
Gets the number of strokes that placed on unit area.
Public propertyTarget
Target of this fill pattern applied to.

See Also