Search found 12 matches
- Wed Jul 13, 2011 11:07 pm
- Forum: Support
- Topic: DivideByZero Error
- Replies: 5
- Views: 13263
- Mon Jul 11, 2011 10:53 pm
- Forum: Support
- Topic: DivideByZero Error
- Replies: 5
- Views: 13263
- Mon Jul 11, 2011 9:33 pm
- Forum: Support
- Topic: DivideByZero Error
- Replies: 5
- Views: 13263
- Mon Jul 11, 2011 9:28 pm
- Forum: Support
- Topic: Calculating Content Width
- Replies: 3
- Views: 11606
This always returns the width of the bitmap's canvas. For future reference, I was able to solve this one via:
Code: Select all
Width := rvh.RichView.LeftMargin + rvh.RichView.RightMargin;
for I := 0 to rvh.RichView.RVData.DrawItems.Count - 1 do
Width := Width + rvh.RichView.RVData.DrawItems[I].Width;
- Mon Jul 11, 2011 6:29 pm
- Forum: Support
- Topic: DivideByZero Error
- Replies: 5
- Views: 13263
DivideByZero Error
After upgrading to TRichView 13.0.5, I am receiving a DivideByZero error in both TRVStyle.GetAsDevicePixelsX and TRVStyle.GetAsDevicePixelsY. PSaD.ppixScreen and PSaD.ppixDevice are both set to 0 by the time this routine executes in certain cases.
- Fri Jul 08, 2011 6:17 pm
- Forum: Support
- Topic: Calculating Content Width
- Replies: 3
- Views: 11606
Calculating Content Width
At my work, we have built our on custom label built using TRichView. We are using the TRVReportHelper to paint to the label's canvas. It has become necessary to identify the width and height of the content being painted so that we can calculate the size to make the label. Currently, we successfully ...
- Wed Aug 22, 2007 6:16 pm
- Forum: Support
- Topic: Auto calculate reporter height
- Replies: 2
- Views: 9425
- Wed Aug 22, 2007 2:25 am
- Forum: Support
- Topic: Auto calculate reporter height
- Replies: 2
- Views: 9425
Auto calculate reporter height
I am using the TRVReportHelper component to paint RVF text to a Canvas. Given a canvas of x width, I want to determine the height the canvas has to be in order to see the wordwrapped text. The problem I am having is the last word on the line seems to disappear occasionally, instead of wordwrapping ...
- Fri Aug 17, 2007 4:51 pm
- Forum: Support
- Topic: ApplyListStyle
- Replies: 6
- Views: 16194
- Thu Aug 16, 2007 2:45 pm
- Forum: Support
- Topic: ApplyListStyle
- Replies: 6
- Views: 16194
- Tue Jun 26, 2007 8:04 pm
- Forum: Support
- Topic: ApplyListStyle
- Replies: 6
- Views: 16194
- Fri Jun 22, 2007 5:03 pm
- Forum: Support
- Topic: ApplyListStyle
- Replies: 6
- Views: 16194
ApplyListStyle
In my TRVStyle component, I have created a List Style. I have added three Levels to the List Style of type rvlstDecimal. The FormatString property is set to "%s." StartFrom is set to 1. In my code I have: FRichViewEdit.SelectAll; FRichViewEdit.ApplyListStyle(0, // List Style 1, // Level 7, // Start ...