6.0

Table Of Contents
54
PlanetPress Talk Summary
3
Work with Images and Attachments
Work with Text
Name: Type: Description:
BitmapWidth
BitmapHeight
function Returns the width or height, in inches, of a bitmap image resource, at
the specified resolution.
EPSWidth
EPSHeight
function Returns the width or height, in inches, of an Encapsulated PostScript
(EPS) image resource.
InStream...
EndInStream
procedure Ceate an alias for a resource file (image, data file, attachment, etc.). You
can then reference the resource file using the alias instead of the path.
This eliminates the need to repeat a path in more than one place in your
code, and thus makes your code easier to maintain. For example, if you
change the resource, you need only modify the path in the instream()
command, rather than everywhere you reference the original resource.
PDFWidth
PDFHeight
function Returns the width or height, in inches, of a page of a Portable Document
Format (PDF) image resource.
PDFPageCount
function Returns the number of pages in the specified PDF file.
PixelHeight
function Returns the height, in pixels, of the specified image. >>
PixelWidth
function Returns the width, in pixels, of the specified image.
ShowBitmap
procedure Displays a bitmap resource.
ShowEPS
procedure Displays an EPS image resource.
ShowPDF
procedure Displays a page of a PDF image resource.
ResourceType
function Returns the type of a resource. Recall that resources are either images or
attachments.
Name: Type: Description:
CRLF
procedure Moves the current point by simulating a carriage return/line feed
combination. The horizontal position is reset to the value of the current
left margin, while the vertical position is offset by the leading value
specified.
BeginParagraph
...
EndParagraph
procedure Delimits a paragraph of formatted text.