2026 Method
Changes 0
M

FillPatternElement.Create

Description:
Creates a new FillPatternElement.
public static FillPatternElement Create(
	Document document,
	FillPattern fillPattern
)
  • document
    The document in which to create the FillPatternElement.
  • fillPattern
    The FillPattern associated to the newly created FillPatternElement.
Return Value FillPatternElement The newly created FillPatternElement.
  • fillPattern does not have a valid Target. -or- fillPattern does not have a valid Name. -or- fillPattern is a solid fill pattern. -or- fillPattern contains FillGrids with a zero Offset. -or- The name of the fillPattern already exists.
  • A non-optional argument was null