Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Creating a Background Image on the fly fitting into an Appointment
posted

I'd like to create some graphics at the right lower corner of an Appointment object using an ImageBackground. I know it is possible to do this using IUIElementCreationFilter, but I do not want to do this all the time when the AfterCreateChildElements is called in case of performance.

So when the Appointment Instance is created, I just need to know the Rectangle of my instance.

Will there we a way to do this?
Please advice. Thanks.

  • 71886
    Offline posted

    Hello,

    I can think of two ways to do this:

    1. You could set the image background of the 'Appearance' object of the appointment. It could be all white and in the bottom right corner to put your image.

    2. You could set the 'Image' property and set the 'ImageVAlign' to bottom and 'ImageHAlign' to right.

    Please feel free to let me know if I misunderstood you or if you have any other questions.