DisplaySetDocumentSize

Top  Previous  Next

Message

 

DisplaySetDocumentSize <docname> <xsize> <ysize>

 

Originator

 

Client

 

Response

 

Info: document <docname> logical size set (x=<xsize>, y=<ysize>)

SyntaxError: invalid parameters to DisplaySetDocumentSize

SyntaxError: insufficient parameters to DisplaySetDocumentSize

Error: Document docname not found by DisplaySetDocumentSize

 

Response (immediate socket)

 

Success

Failure

 

Details

 

Sets an explicit size for a document. Until this call is made, the size of the document will be given by the extent of objects added to it.

 

Can be used with DisplayScaleDocuments to provide a coordinate system for the a displayed document which is independent of the physical resolution of the display.

 

See Display Documents: size and scaling for more details.

 

Revision history

 

Implemented by WhiskerServer version 2.3.

 

See also

 

Display devices
DisplayScaleDocuments
DisplayGetDocumentSize
Display Documents: size and scaling