Table of contents
TOC
Collapse the table of content
Expand the table of content

ApplicationSettings.GetRasterExportResolution Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the raster export resolution settings.

Syntax

expression . GetRasterExportResolution( pResolution , pWidth , pHeight , pResolutionUnits )

expression An expression that returns an ApplicationSettings object.

Parameters

NameRequired/OptionalData TypeDescription
pResolutionRequiredVisRasterExportResolutionOut parameter. The raster export resolution. See Remarks for possible values.
pWidthRequiredDoubleOut parameter. The raster export resolution width.
pHeightRequiredDoubleOut parameter. The raster export resolution height.
pResolutionUnitsRequiredVisRasterExportResolutionUnitsOut parameter. The units used to specify resolution. See Remarks for possible values.
pResolutionRequiredVISRASTEREXPORTRESOLUTION
pWidthRequiredDOUBLE
pHeightRequiredDOUBLE
pResolutionUnitsRequiredVISRASTEREXPORTRESOLUTIONUNITS
NameRequired/OptionalData typeDescription

Return Value

Nothing

Remarks

The pResolution parameter must be one of the following VisRasterExportResolution constants.

ConstantValueDescription
visRasterUseScreenResolution0Use screen resolution.
visRasterUsePrinterResolution1Use printer resolution.
visRasterUseSourceResolution2Use source resolution.
visRasterUseCustomResolution3Use 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.

ConstantValueDescription
visRasterPixelsPerInch0Pixels per inch.
visRasterPixelsPerCm1Pixels per centimeter.
© 2018 Microsoft