Photo-Paint:Document Members

From OberonPlace Development Portal

Jump to: navigation, search
This object model documentation page is a stub automatically generated from application type library.
Please help by editing this page and filling in the missing details.
For guidelines and help please visit Editing Object Model Pages

Contents

Document Members

Class Document has the following members:

Properties

Name Description
ActiveFrame Gets the reference to the currently active frame (read-only)
ActiveLayer Gets the reference to the currently active layer (read-only)
ActiveWindow Gets the reference to the currently active window (read-only)
Application Gets the application to which the object belongs (read-only)
Background Gets the background object (read-only)
Channels Gets a collection of the additional alpha channels (read-only)
ColorTable Gets the color table object, if there is one (read-only)
Dirty Gets or sets the modified state of the document
DpiX Gets or sets the horizontal resolution of the active image in dots per inch (dpi)
DpiY Gets or sets the vertical resolution of the active image in dots per inch (dpi)
FileName Gets the file name of the document (read-only)
FilePath Gets the source path of the document (read-only)
Frames Gets a collection the existing frames (read-only)
FullFileName Gets the full path name of the document (read-only)
Grid Gets the grid (read-only)
Guides Gets a collection the existing guides (read-only)
IsMovie Gets if the document is a movie (read-only)
Layers Gets a collection of the document's layers (read-only)
LockTransparency Gets or sets the locked state of the transparency
Mask Gets the mask object (read-only)
Mode Gets the Corel PHOTO-PAINT image mode of the document (read-only)
MovieFrameCount Gets the total number of movie frames within the document file (read-only)
MovieStartFrame Gets the index of frame 1 within the document file (read-only)
Name Gets or sets the name of the VBA project corresponding to the document
Parent Gets the application to which the object belongs (read-only)
PDFSettings Gets PDF settings for the specified document (read-only)
PrintSettings Gets Print Settings (read-only)
Rulers Gets the rulers (read-only)
SizeHeight Gets the height of the document in pixels (read-only)
SizeWidth Gets the width of the document in pixels (read-only)
Tools Gets a collection of available tools (read-only)
VirtualHeight Gets or sets the virtual (relative) height of the document
VirtualWidth Gets or sets the virtual (relative) width of the document
Windows Gets a collection of the document's windows (read-only)

Methods

Name Description
Activate Activates the document
AddBackground Adds a background object if there was none
ApplyICCProfile Applies the specified ICC profile to the document
Checkpoint Stores the current state of the document
Close Closes the document
ConvertTo Converts the document into another mode
ConvertToBW Converts the document into the black-and-white mode
ConvertToDuotone Converts the document into the duotone mode
ConvertToMovie Converts the document into a movie
ConvertToNTSC Converts the color in a 24-bit RGB image to colors that are suitable for NTSC standard television reproduction
ConvertToPAL Converts the color in a 24-bit RGB image to colors that are suitable for PAL standard television reproduction
ConvertToPaletted Converts the document into the paletted mode
ConvertToPaletted2 Converts the document into the paletted mode
CreateGuide Creates a new guide
CreatePalette Creates a new palette
CreatePaletteFromVisible Creates a new palette from the visible layers
Crop Crops the current image to the specified rectangle
CropToColor Crops a specific color border surrounding an image to the point where a different colored pixel is encountered
CropToMask Crops the selected image to the bounding box of the current mask
DeskewCrop Crops an image. If the angle is set to a value other than 0, the image is also deskewed
Duplicate Creates a copy of the image and assigns it the specified name
Export Returns an ExportFilter object to export to a file
Flip Flips the image horizontally and/or vertically
Import Returns an ImportFilter object to import a file as a new set of layers
PaperSize Adjusts the size of the paper behind an image using absolute width and height values. The image can be repositioned on the paper by setting a placement position
PrintOut Prints the document
PublishToPDF Publishes the specified document to PDF
Redo Redoes a previously undone modification
Repeat Repeats the last modification made to the document
Resample Adjusts the dimensions and resolution of an image
RestoreCheckpoint Restores the document as it was during the last checkpoint
Revert Opens the last saved version of the document from disk
Rotate Rotates the image to a specified degree
Save Saves the document using its current name and location
SaveAs Returns an ExportFilter object to save to a new file
SelectMovieFrames Selects a range of movie frames
SetResolution Sets the resolution of the active image in dots per inch (dpi)
Split Separates an image into the color channels corresponding to the specified color model
Undo Cancels the last modification made to the document

References

Personal tools