ApplicationSettings.GetRasterExportResolution method (Visio)
Returns the raster export resolution settings.
Syntax
expression.GetRasterExportResolution (pResolution, pWidth, pHeight, pResolutionUnits)
expression An expression that returns an ApplicationSettings object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
pResolution | Required | VisRasterExportResolution | Out parameter. The raster export resolution. See Remarks for possible values. |
pWidth | Required | Double | Out parameter. The raster export resolution width. |
pHeight | Required | Double | Out parameter. The raster export resolution height. |
pResolutionUnits | Required | VisRasterExportResolutionUnits | Out parameter. The units used to specify resolution. See Remarks for possible values. |
Return value
Nothing
Remarks
The pResolution parameter must be one of the following VisRasterExportResolution constants.
Constant | Value | Description |
---|---|---|
visRasterUseScreenResolution | 0 | Use screen resolution. |
visRasterUsePrinterResolution | 1 | Use printer resolution. |
visRasterUseSourceResolution | 2 | Use source resolution. |
visRasterUseCustomResolution | 3 | Use custom resolution. |
If pResolution is a constant other than visRasterUseCustomResolution, GetRasterExportResolution returns null for all other parameters. If pResolution is visRasterUseCustomResolution, GetRasterExportResolution returns non-null values for all parameters.
The pResolutionUnits parameter must be one of the following VisRasterExportResolutionUnits constants.
Constant | Value | Description |
---|---|---|
visRasterPixelsPerInch | 0 | Pixels per inch. |
visRasterPixelsPerCm | 1 | Pixels per centimeter. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.