Share

AcDbLayerTableRecord::plotStyleName

C++

ACHAR* plotStyleName(
    const AcDbObjectId& viewportId, 
    bool& isOverride
) const;

Description

Deprecated. Returns the layer global plot style name, or the override plot style name if an override exists for the supplied viewport.

It is the caller's responsibility to free the returned string; acutDelString() is the preferred way to delete this string. In addition, isOverride carries the override state.

A NULL viewport object id may be passed in; the global layer plot style name will be returned.

Parameters

Parameters Description
viewportId Input the object id of the viewport.
isOverride Input reference to a Boolean out-parameter. It will be set to true if a plot style override exists for the viewport, false otherwise.

Links

AcDbLayerTableRecord

Use Instead

AcString plotStyleName(const AcDbObjectId& viewportId, bool * pIsOverride = nullptr, Acad::ErrorStatus * pE = nullptr) const;

Was this information helpful?