Ticket Q305350
Visible to All Users

XRPictureBox Alignment Property Existence

created 14 years ago

I created a webform with a regular xtraeditors.pictureedit on it. I allowed the user to choose a alignment and sizemode for this pictureedit. I saved these two properties in the database along with the picture itself. I then wanted to display this picture on a report with the properties showing. However, when I added a XRPictureBox to my report - I noticed that the XRPictureBox does not have an alignment property, and its Sizing feature does not contain all of the values that the PictureEdit does for its SizeMode property.
I tried just adding a regular PictureEdit to the report so that I could retain all of the correct properties and their values, but this of course was not aloud. Am I missing something here that would allow me to align the picture inside a picturebox on my report?
There are multiple pictures on the report by the way - all of them have their data saved in the database, including: width, height, image, name, sizemode, and alignment. It is very preferable to keep the alignment and sizemode fields.
Thank you.

Show previous comments (5)

    This helped a lot - Thank you very much!
    Also I had this property in there:
    wcc.SyncBounds = false;
    That messed things up also, so I had to take that out.

      Totally Fixed!

      DevExpress Support Team 14 years ago

        Hi Scott,
        Thank you for your feedback.
        I am glad to hear that you have resolved this problem. Please contact us if you experience any further difficulties.
        Thanks,
        Elliot

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.