IDgnTextStyleApplyable.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
12 
14 
17 
18 //=======================================================================================
20 // @remark Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib
21 // @bsiclass Bentley Systems
22 //=======================================================================================
24  {
25 private:
26  virtual void MakeClassAbstract() = 0;
27 public:
28 
30  public: DGNPLATFORM_EXPORT bool HasTextStyle () const;
31 
33  public: DGNPLATFORM_EXPORT UInt32 GetTextStyleId () const;
34 
54  public: DGNPLATFORM_EXPORT void ApplyTextStyle (DgnTextStyleCR, double annotationScale, bool respectOverrides);
55 
57  public: DGNPLATFORM_EXPORT void RemoveTextStyle ();
58 
59  }; // IDgnTextStyleApplyable
60 
62 
64 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
Interface that TextBlock DOM property objects use to work with DgnTextStyle objects.
Definition: IDgnTextStyleApplyable.h:23
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
uint32_t UInt32
Definition: Bentley.r.h:128
struct DgnPlatform::DgnTextStyle const & DgnTextStyleCR
Definition: DgnPlatform.h:229
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.