API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdArtwork Class > OdArtwork Methods > OdArtwork::getDefaultViewPreference Method
OdArtwork::getDefaultViewPreference Method
Syntax
C++
void getDefaultViewPreference(Artwork::ViewPreference& preference) const;
Parameters 
Description 
Artwork::ViewPreference& preference 
[out] A placeholder for the source of preferred view options. 

Returns the current source of preferred view options for the artwork. The method fills a passed options source value and returns it to a calling subroutine. 

 

View options can be taken from .prc or .pdf data (if such data exists). This functionality is not implemented yet.

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