Autodesk.AutoCAD.PlottingServices.CustomSizeResults Enumeration

Description

This enumeration wraps the AcPlPlotInfoValidator::eCustomSizeResult ObjectARX enum. It defines the return flags from the PlotInfoValidator.isCustomSizePossible() method.

Visual Basic

Public Enum CustomSizeResults
  DeviceLoadFailed = &H2000
  Exception = &H100
  MustCreatePC3 = 1
  PC3DirReadOnly = 4
  PC3FileReadOnly = &H40
  PmpDirMissing = &H10
  PmpDirReadOnly = 8
  PmpFileReadOnly = &H800
  Possible = 0
  RotationRequired = 2
  SizeTooBig = &H80
  UnknownErrPC3File = &H200
  UnknownErrPmpDir = &H20
  UnknownErrPmpFile = &H400
  WidthAndHeightMustBePositive = &H1000
End Enum

C#

public enum CustomSizeResults {
  DeviceLoadFailed = 0x2000,
  Exception = 0x100,
  MustCreatePC3 = 1,
  PC3DirReadOnly = 4,
  PC3FileReadOnly = 0x40,
  PmpDirMissing = 0x10,
  PmpDirReadOnly = 8,
  PmpFileReadOnly = 0x800,
  Possible = 0,
  RotationRequired = 2,
  SizeTooBig = 0x80,
  UnknownErrPC3File = 0x200,
  UnknownErrPmpDir = 0x20,
  UnknownErrPmpFile = 0x400,
  WidthAndHeightMustBePositive = 0x1000
}

Members

Members Description
DeviceLoadFailed = 0x2000 The device specified in the layout, overrides, or device override could not be loaded to determine if it supports custom paper sizes.
Exception = 0x100 An exception has occurred.
MustCreatePC3 = 1 No PC3 file exists for the configuration; one must be created.
PC3DirReadOnly = 4 The PC3 directory is read-only; custom sizes are not possible.
PC3FileReadOnly = 0x40 The PC3 file is read-only. Custom sizes are not possible unless a temporary PC3 file is created.
PmpDirMissing = 0x10 The PMP directory does not exist; custom sizes are not possible.
PmpDirReadOnly = 8 The PMP directory is read-only; custom sizes are not possible.
PmpFileReadOnly = 0x800 The PMP file is read-only. Custom sizes are not possible unless a temporary PMP file is created.
Possible = 0 The custom size is possible.
RotationRequired = 2 The size is possible, but a 90-degree rotation is required.
SizeTooBig = 0x80 The page size is too big for the device.
UnknownErrPC3File = 0x200 There is an unknown error with the PC3 file; custom sizes are not possible.
UnknownErrPmpDir = 0x20 There is an unknown error with the PMP directory; custom sizes are not possible.
UnknownErrPmpFile = 0x400 There is an unknown error with the PMP file; custom sizes are not possible.
WidthAndHeightMustBePositive = 0x1000 Page width and page height must be positive.