DisplayGetDocumentSize

Top  Previous  Next

Message

 

DisplayGetSize <docname>

 

Originator

 

Client

 

Response

 

Error: Document docname not found by DisplayGetDocumentSize

Info: Document <docname> size: x=<xsize> y=<ysize>

SyntaxError: invalid parameters to DisplayGetDocumentSize

SyntaxError: insufficient parameters to DisplayGetDocumentSize

 

Response (immediate socket)

 

Size <xsize> <ysize>

Failure

 

Details                

 

Retrieves the size of the document. If this has been set by DisplaySetDocumentSize, returns whatever was set. Otherwise, returns the extent of the document (see Display Documents: size and scaling for details).

 

Revision history

 

Implemented in WhiskerServer version 2.10.2.

 

See also

 

Display devices
DisplaySetDocumentSize
DisplayScaleDocuments
Display Documents: size and scaling