MODALIZER SDK  3.2.2.2
IDCXPrintPage Interface Reference

This interface is used for printing a film (page) using a DICOM printer. More...

Inherits IDispatch.

Public Member Functions

HRESULT Print ()
 < Number of image boxes actually created. Call this method only after creating the page More...
 
HRESULT SetImageBox ([in] int boxId, [in] IDCXPrintImageBox *box)
 Set one image box data. The boxes are enumarted starting at 1 from right to left and from top to bottom.
 
HRESULT SetImageBoxEx ([in] int boxId, [in] IDCXPrintImageBox *box, [in] IDCXOBJ *image_attributes)
 Set one image box data with extended properties. The boxes are enumarted starting at 1 from right to left and from top to bottom.
 
HRESULT GetImageBox ([in] int boxId, [out, retval] IDCXPrintImageBox **box)
 

Properties

PRINT_PAGE_ORIENTATION Orientation [get, set]
 Page Orientation - either Portrait (default) or Landscape. More...
 
BSTR StandardLayout [get, set]
 < Get the page orientation More...
 
int NumberOfImageBoxes [get]
 < Get the number of images on a page More...
 

Detailed Description

This interface is used for printing a film (page) using a DICOM printer.

Film Box.

Member Function Documentation

◆ GetImageBox()

HRESULT IDCXPrintPage::GetImageBox ( [in] int  boxId,
[out, retval] IDCXPrintImageBox **  box 
)

Get an instance DCXPrintImageBox matching the box at index boxId. Use this method to create a new DCXPrintImageBox instead of creating one with new/CreateInstance. Otherwise, if not using this method, you must first call ColorSpace to define if the image box is color or graysalce before calling any other method.

◆ Print()

HRESULT IDCXPrintPage::Print ( )

< Number of image boxes actually created. Call this method only after creating the page

Print the page (using N-ACTION) Print the page

Property Documentation

◆ NumberOfImageBoxes

int IDCXPrintPage::NumberOfImageBoxes
getproperty

< Get the number of images on a page

Get the actual number of images on the page (only after creating the page)

◆ Orientation

PRINT_PAGE_ORIENTATION IDCXPrintPage::Orientation
getsetproperty

Page Orientation - either Portrait (default) or Landscape.

< Set the page orientation

◆ StandardLayout

BSTR IDCXPrintPage::StandardLayout
getsetproperty

< Get the page orientation

< Set the number of images on a page

Page layout - Number of image boxes rows