Share

AcGsView::setViewport

C++

virtual void setViewport(
    const AcGsDCRect & screen_rect
) = 0;

Description

This method sets the extents of the viewport in device coordinates (pixels). The viewport must have positive width and height. However, it is acceptable for a viewport to not be partly or wholly within the owning device's extents.

Parameters

Parameters Description
screen_rect View extents rectangle in device coordinates

Links

AcGsView Class

Was this information helpful?