NAME

XpGetImageResolution - Gets the current image resolution for a print context.

SYNOPSIS


cc [ flag... ] file... -lXp [ library... ]
#include

int XpGetImageResolution ( display, print_context )
Display *_d_i_s_p_l_a_y;
XPContext _p_r_i_n_t___c_o_n_t_e_x_t;

ARGUMENTS

display
Specifies a pointer to the Display structure.
print_context
Specifies the print context on which to get the resolution.

DESCRIPTION

XpGetImageResolution returns the current image resolution for the specified print context. A value of zero means the resolution automatically tracks the printer resolution. If the request fails in some way, a negative value is returned.

DIAGNOSTICS

XPBadContext A valid print context-id has not been set prior to making this call.