AvailablePaperSizes Method (IPrintManager)

AvailablePaperSizes Method (IPrintManager) | Send Feedback
See Also Example

PaperSizesStrArray[out]
  Array of strings of the names of the available paper sizes as per the printer's settings

Gets the names of the available paper sizes.

# Syntax

Visual Basic |
--- | ---
    Function AvailablePaperSizes() As System.Object

C# |
--- | ---
    System.object AvailablePaperSizes()

JavaScript |
--- | ---
    AvailablePaperSizes() : Array

COM native C++ |
--- | ---
    HRESULT AvailablePaperSizes(
       VARIANT* PaperSizesStrArray
    )

C++ |
--- | ---
    DSRESULT AvailablePaperSizes(
       dsStringArray* PaperSizesStrArray
    )

#### Parameters

PaperSizesStrArray[out] or Return Value
  Array of strings of the names of the available paper sizes as per the printer's settings

# Example

Get and Set Print Options (C#)
Get and Set Print Options (VB.NET)
Get and Set Print Options (VBA)

# See Also

####

IPrintManager Interface
IPrintManager Members
IPrintManager::GetPaperSize Method
IPrintManager::PaperSize Property
IPrintManager::SetClosestValidPaperSize Method
IPrintManager::Printer Property
IPrintManager::AvailablePaperSizesInLocale Method

# Availability

DraftSight V1R1