Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the raster export size.
Version Information
Version Added: Visio 2010
Syntax
expression .GetRasterExportSize(pSize, pWidth, pHeight, pSizeUnits)
expression An expression that returns an ApplicationSettings object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
|---|---|---|---|
pSize |
Required |
VisRasterExportSize |
Out parameter. The raster export size. See Remarks for possible values. |
pWidth |
Required |
Double |
Out parameter. The raster export size width. |
pHeight |
Required |
Double |
Out parameter. The raster export size height. |
pSizeUnits |
Required |
VisRasterExportSizeUnits |
Out parameter. The units used to specify size. See Remarks for possible values. |
Return Value
Nothing
Remarks
The pSize parameter must be one of the following VisRasterExportSize constants.
Constant |
Value |
Description |
|---|---|---|
visRasterFitToScreenSize |
0 |
Use screen size. |
visRasterFitToPrinterSize |
1 |
Use printer size. |
visRasterFitToSourceSize |
2 |
Use source size. |
visRasterFitToCustomSize |
3 |
Use 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.
Constant |
Value |
Description |
|---|---|---|
visRasterPixel |
0 |
Pixels |
visRasterCm |
1 |
Centimeters |
visRasterInch |
2 |
Inches |