Blog: Tech Talk

agsdix-fas fa-home

Blog: Home

agsdix-fas fa-pen-fancy

Blog: CEO's Corner

agsdix-fas fa-code

Blog: Tech Talk

Blog: Product Releases

agsdix-fas fa-chalkboard-teacher

Blog: Viewing

Blog: Conversion

arrow left circle icon Blog: Tech Talk

Working with the XPS File Format

by | Apr 11, 2012

Snowbound Software’s RasterMasterTM for the .NET Platform includes a build option with the CIMG_decompress_bitmap_xps(String *filename, int iPage) and the CIMG_get_pages_xps(String *filename)  functions that allow you to work with the XPS file format.

Note: These functions are only available in the Visual Studio 2005 .NET library build with .NET Framework 3.0 support.

CIMG_decompress_bitmap_xps ()

The function decompresses an XPS file.

The following shows the CIMG_decompress_bitmap_xps(String *filename, int iPage) function syntax and variable descriptions:

Syntax

int CIMG_decompress_bitmap_xps(String *filename, int iPage);

Remark

The table below lists the CIMG_decompress_bitmap_xps function variable descriptions.

VariableDescription
filenamePath/filename of the XPS file
iPage
The page index of the XPS document to render

Returns

Integer

CIMG_get_pages_xps ()

This function returns the number of pages for the XPS file format.

The following shows the CIMG_get_pages_xps(String *filename)  function syntax and variable descriptions:

Syntax

int CIMG_get_pages_xps (String *filename);

Remark

The table below lists the CIMG_get_pages_xps function variable description.

VariableDescription
filenamePath/filename of the XPS file

Returns

Integer