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

ApplicationSettings.GetRasterExportSize Method (Visio)

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

Gets the raster export size.

Syntax

expression . GetRasterExportSize( pSize , pWidth , pHeight , pSizeUnits )

expression An expression that returns an ApplicationSettings object.

Parameters

NameRequired/OptionalData TypeDescription
pSizeRequiredVisRasterExportSizeOut parameter. The raster export size. See Remarks for possible values.
pWidthRequiredDoubleOut parameter. The raster export size width.
pHeightRequiredDoubleOut parameter. The raster export size height.
pSizeUnitsRequiredVisRasterExportSizeUnitsOut parameter. The units used to specify size. See Remarks for possible values.
pSizeRequiredVISRASTEREXPORTSIZE
pWidthRequiredDOUBLE
pHeightRequiredDOUBLE
pSizeUnitsRequiredVISRASTEREXPORTSIZEUNITS
NameRequired/OptionalData typeDescription

Return Value

Nothing

Remarks

The pSize parameter must be one of the following VisRasterExportSize constants.

ConstantValueDescription
visRasterFitToScreenSize0Use screen size.
visRasterFitToPrinterSize1Use printer size.
visRasterFitToSourceSize2Use source size.
visRasterFitToCustomSize3Use custom size.

If pSize is a constant other than visRasterFitToCustomSize , GetRasterExportSize returns null for all other parameters. If pSize is visRasterFitToCustomSize , GetRasterExportSize returns non-null values for all parameters.

The pSizeUnits parameter must be one of the following VisRasterExportSizeUnits constants.

ConstantValueDescription
visRasterPixel0Pixels
visRasterCm1Centimeters
visRasterInch2Inches
© 2018 Microsoft