API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::getLabelBlock Method
OdDbViewport::getLabelBlock Method
Syntax
C++
OdDbObjectId getLabelBlock() const;

Retrieves an object identifier of the label block (OdDbBlockReference) associated with this viewport.

This method can throw the 'eUnableToGetViewAssociation' error if it fails to get the view association.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.