PrintStyle Property (IPolygonMesh)

PrintStyle Property (IPolygonMesh) | Send Feedback
See Also

Gets or sets the name of the PrintStyle for this PolygonMesh.

# Syntax

Visual Basic |
--- | ---
    Property PrintStyle As System.String

C# |
--- | ---
    System.string PrintStyle {get; set;}

JavaScript |
--- | ---
    get_PrintStyle () : String
    put_PrintStyle (
       NewVal : String
    )

COM native C++ |
--- | ---
    HRESULT get_PrintStyle(
       BSTR* Val
    )
    HRESULT put_PrintStyle(
       BSTR NewVal

C++ |
--- | ---
    DSRESULT get_PrintStyle (
       dsString* Val
    )
    DSRESULT put_PrintStyle(
       const dsString& NewVal
    )

#### Property Value

Name of the PrintStyle

# Remarks

You can only set the name of a PrintStyle if named PrintStyles are used in the drawing. If color-dependent PrintStyles are used in the drawing, then the PrintStyle is set to ByColor and is read only. To determine the type of PrintStyle used in the document:

- call IDocument::GetCommandOptionString and specify dsCommandOptionString_e.dsCommandOptionString_GetNmPrnStyl for the Var parameter in a project, macro, or script.
- click Tools > Options > System Options, expand Printing, expand Default settings, and examine Default type in the user-interface.

# See Also

####

IPolygonMesh Interface
IPolygonMesh Members

# Availability

DraftSight V1R6.0