C++
virtual Acad::ErrorStatus setPlotRotation( AcDbPlotSettings* pPlotSet, const PlotRotation rotationType ) = 0;
Description
Sets the rotation of the plot on the paper.
Possible values for the enumerated type PlotRotation are:
| Name | Value | Rotation |
|---|---|---|
| k0degrees | 0 | No rotation |
| k90degrees | 1 | 90 degrees counterclockwise |
| k180degrees | 2 | Upside down |
| k270degrees | 3 | 90 degrees clockwise |
The combination of the plot rotation and the plot paper size determine the orientation of the media in a paperspace layout session. For example, if the media is "Letter," which is usually 8.5" x 11", then k0degrees is considered "portrait" and k90degrees is considered "landscape." Specifying "upside-down" will provide the remaining settings, k180degrees and k270degrees.
Parameters
| Parameters | Description |
|---|---|
| pPlotSet | Input pointer to AcDbPlotSettings object |
| rotationType | Input enumeration indicating rotation |