Document already existing wxPrintPreview::GetZoom function

This base function was added over 16 years ago but never documented.

Closes #23667.
This commit is contained in:
Ian McInerney 2023-06-26 17:17:19 +01:00 committed by Vadim Zeitlin
parent eae24cc3b2
commit 7669a7e1bd

View file

@ -374,6 +374,13 @@ public:
*/
virtual wxPrintout* GetPrintoutForPrinting() const;
/**
Gets the current percentage zoom level of the preview canvas.
@see SetZoom()
*/
virtual int GetZoom() const;
/**
Returns @true if the wxPrintPreview is valid, @false otherwise.
@ -430,6 +437,8 @@ public:
/**
Sets the percentage preview zoom, and refreshes the preview canvas accordingly.
@see GetZoom()
*/
virtual void SetZoom(int percent);
};