Profile objects for different presentation engines
Create dynamic links between Boolean properties of objects and the
{Session}/IsNative
and {Session}/IsWeb
aliases. This way, you can display different graphic objects with different presentation engines.
TIP:
Download a sample project:
ProfileObjects.zipPrerequisites
- Create a Native Presentation Engine and a Web Presentation Engine. See Create a Presentation Engine.
- Create objects that you want to profile. See Add an instance of a graphic object.For example, create two rectangles of different colors.
- To profile objects for different presentation engines
- InProject view, select an object to profile.For example, select a rectangle.
- InProperties, create a dynamic link between a Boolean property and either:For more information about dynamic links, see Create dynamic links.For example, create a dynamic link between theVisibleproperty of the object and . This way, the object will be only visible in the Native Presentation Engine.
- InProject view, select an object to profile.For example, select another rectangle.
- InProperties, create a dynamic link between a Boolean property and either:For more information about dynamic links, see Create dynamic links.For example, create a dynamic link between theVisibleproperty of the object and . This way, the object will be only visible in the Web Presentation Engine.
The Native Presentation Engine and Web Presentation Engine display different objects.
Provide Feedback