Sets a value which indicates that show or hide the help button in dialogs. ![]() Sets a value which indicates that show or hide the help link in tooltips. It can have one of the standard values ' _blank ', ' _self ', ' _top ', as well as the name of the window or frame.Įnables displaying tips for the viewer controls when the mouse hovers over. By default, it is set to ' _blank ' (new window). Sets the target window to open links contained in the report. ![]() By default, the property is set to false. Sets the full-screen display mode of the viewer. Sets the Right to Left mode for viewer controls. The default value is Office2022WhiteBlue. The list of available themes can be found in the StiViewerTheme enumeration. Specifies the theme of the viewers' layout. The code below should be added after loading the report before passing it to the viewer. There are no special options to control displaying them, but they can be disabled through the properties of the element. Please note that all dashboard elements have their own save options and full-screen buttons for preview. If the AutoWidth property is set to false then it will change the width of the text.Var report = new () Important: If the AutoWidth property is set to false then the height of the text depends on the CanGrow and CanShrink properties. If the AutoWidth property is set to true, then the width will be automatically changed. If the AutoWidth property is set to false, then the height of the text depends on settings of the CanGrow and CanShrink properties. The CanGrow, CanShrink, and AutoWidth properties can be used simultaneously. If the AutoWidth property is set to true then the text component will automatically change its width to match the width of the text. ![]() In addition to the CanGrow and CanShrink properties the AutoWidth property can affect the way a text component changes size. ![]() If you want the report generator to increase the height of the component based on all the text lines then the value of the WordWrap property should be set to true so that the text automatically wraps and the calculation can be based on the combined height of all the text lines. When automatically resizing a text component with the WordWrap property set to false the report generator will calculate the new size based on the height of a single line only. If the WordWrap property is set to false then the text is cropped at the border of the component, but when set to true new lines are created until all the text is displayed on multiple lines. The WordWrap property controls whether or not the text in the control automatically wraps when it becomes too long to fit in a single line. In this case, the height will automatically increase or decrease depending on the size of a text. The CanShrink property works in the opposite way, so if it is set to true and there is more space than is needed for the text the report generator will automatically decrease the height of the text component.Īs with other components it is possible to set both properties to true. The example below shows an example of the CanGrow property causing the text height to change: The CanGrow and CanShrink properties affect only the height of a text component and not the width. The automatic resizing of text components behaves differently from other components.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |