Line to page edge

SidSid
edited 6:34PM in FastReport 4.0
Hi,
In the designer, I've put a horizontal dashed line using tFrxLineView. I want this line to print from left page _edge_ to right page _edge_, not from left margin to right margin.

I tried changing the Left property to -1, but that doesn't do anything. I tried align=baWidth, but that still only goes margin-to-margin, not edge-to-edge.

How can I achieve this? Thanks.

Comments

  • edited June 2012
    I'd try Page.LeftMargin = 0; Page.RightMargin = 0 and hope that the printer does not have its own minimum internal margings.
  • SidSid
    edited 6:34PM
    technisoft wrote: »
    I'd try Page.LeftMargin = 0; Page.RightMargin = 0 and hope that the printer does not have its own minimum internal margings.
    Yes, but then I'd have to move everything else in the report around since it is only the horizontal line that needs to go edge-to-edge. I was hoping to manipulate the left margin for just that one object, not for the entire page.
  • edited 6:34PM
    Sid wrote: »
    Yes, but then I'd have to move everything else in the report around since it is only the horizontal line that needs to go edge-to-edge. I was hoping to manipulate the left margin for just that one object, not for the entire page.
    You either have a page margin or you don't have a page margin. I think it isreasonable to assume that a page margin refers to a page and not to a component on a page.

    Anyway, moving the other components isn't really a big deal. Select the band, press Ctrl-A, which selects all components on that band and move them as a block. Repeat for every band. The one issue which may arise is that printers have their own margin requirements and you may find that works on one printer is only partially printed on another.
    FR2 had a property which rescaled the output according to the printer's printable area which was a very neat facility.
    I assume it had to be dropped for FR3/4 because of the accurate component placement. It isn't much good to be able to place a component to 1/100 of a millimeter when the printer rescales the output.
  • SidSid
    edited 6:34PM
    Ctrl-A worked fine to select the components as a group. Thanks for the info.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.