IAcadPlotConfiguration
TeighaX Interface of a named collection of plot settings
Supported Platforms: Windows only
Object Inheritance
Members
These members are part of this object:
Methods- GetXData
- SetXData
- Delete
- GetExtensionDictionary
- GetCustomScale
- SetCustomScale
- GetPaperMargins
- GetPaperSize
- GetWindowToPlot
- SetWindowToPlot
- CopyFrom
- GetCanonicalMediaNames
- GetPlotDeviceNames
- GetPlotStyleTableNames
- RefreshPlotDeviceInfo
- GetLocaleMediaName
Properties- Handle
- ObjectName
- ObjectID
- Application
- HasExtensionDictionary
- OwnerID
- Document
- Name
- ConfigName
- CanonicalMediaName
- PaperUnits
- PlotViewportBorders
- ShowPlotStyles
- PlotRotation
- CenterPlot
- PlotHidden
- PlotType
- ViewToPlot
- UseStandardScale
- StandardScale
- ScaleLineweights
- PlotWithLineweights
- PlotViewportsFirst
- StyleSheet
- PlotOrigin
- PlotWithPlotStyles
- ModelType
- 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.
- GetCustomScale()
Void GetCustomScale([out] Pointer Type Numerator, [out] Pointer Type Denominator)
Returns the custom scale value.
- SetCustomScale()
Void SetCustomScale([in] Double Numerator, [in] Double Denominator)
Sets the custom scale value.
- GetPaperMargins()
Void GetPaperMargins([out] Pointer Type LowerLeft, [out] Pointer Type UpperRight)
Returns the margins used for printing.
- GetPaperSize()
Void GetPaperSize([out] Pointer Type Width, [out] Pointer Type Height)
Returns the width and height of the specified media.
- GetWindowToPlot()
Void GetWindowToPlot([out] Pointer Type LowerLeft, [out] Pointer Type UpperRight)
Returns the coordinates that define the area to print.
- SetWindowToPlot()
Void SetWindowToPlot([in] VARIANT LowerLeft, [in] VARIANT UpperRight)
Sets the coordinates that define the area to print.
- CopyFrom()
Void CopyFrom([in] Pointer Type pPlotConfig)
Copies settings from a plot configuration file.
- GetCanonicalMediaNames()
VARIANT GetCanonicalMediaNames( )
Returns names of the media available for a print device.
- GetPlotDeviceNames()
VARIANT GetPlotDeviceNames( )
Returns print device names.
- GetPlotStyleTableNames()
VARIANT GetPlotStyleTableNames( )
Returns plot style table names.
- RefreshPlotDeviceInfo()
Void RefreshPlotDeviceInfo( )
Updates print device information with the current settings.
- GetLocaleMediaName()
BSTR GetLocaleMediaName([in] BSTR Name)
Returns the localized version of a media name.
- 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.
- Name [ReadOnly]
BSTR Name( )
Specifies or returns the name of the object.
- ConfigName [ReadOnly]
BSTR ConfigName( )
Specifies or returns the name of a plot configuration file.
- CanonicalMediaName [ReadOnly]
BSTR CanonicalMediaName( )
Specifies or returns the name of the media size.
- PaperUnits [ReadOnly]
AcPlotPaperUnits PaperUnits( )
Specifies or returns the units used for plot configuration properties.
- PlotViewportBorders [ReadOnly]
Boolean PlotViewportBorders( )
Specifies or returns whether to print the edges of viewports.
- ShowPlotStyles [ReadOnly]
Boolean ShowPlotStyles( )
Specifies or returns whether plot styles are applied when displaying objects on the screen.
- PlotRotation [ReadOnly]
AcPlotRotation PlotRotation( )
Specifies or returns the rotation angle of the plot configuration.
- CenterPlot [ReadOnly]
Boolean CenterPlot( )
Specifies or returns whether objects are centered on the printed media.
- PlotHidden [ReadOnly]
Boolean PlotHidden( )
Specifies or returns whether objects are printed.
- PlotType [ReadOnly]
AcPlotType PlotType( )
Specifies or returns the method used to determine which objects print.
- ViewToPlot [ReadOnly]
BSTR ViewToPlot( )
Specifies or returns the name of the view to print.
- UseStandardScale [ReadOnly]
Boolean UseStandardScale( )
Specifies or returns whether to print using a standard scale or custom scale.
- StandardScale [ReadOnly]
AcPlotScale StandardScale( )
Specifies or returns the standard scale value.
- ScaleLineweights [ReadOnly]
Boolean ScaleLineweights( )
Specifies or returns whether lineweights are scaled during printing.
- PlotWithLineweights [ReadOnly]
Boolean PlotWithLineweights( )
Specifies or returns whether objects print with lineweights.
- PlotViewportsFirst [ReadOnly]
Boolean PlotViewportsFirst( )
Specifies or returns whether objects in paperspace print first.
- StyleSheet [ReadOnly]
BSTR StyleSheet( )
Specifies or returns the style sheet used for printing.
- PlotOrigin [ReadOnly]
VARIANT PlotOrigin( )
Specifies or returns the origin point used for printing.
- PlotWithPlotStyles [ReadOnly]
Boolean PlotWithPlotStyles( )
Specifies or returns whether objects print with settings from the plot configuration file or settings from the drawing.
- ModelType [ReadOnly]
Boolean ModelType( )
Returns whether the settings apply to objects in a modelspace layout only or both modelspace and paperspace layouts.