Page 1 of 1

Page No problem

Posted: Tue Oct 23, 2007 8:07 pm
by umi
Hello
Is there any way to determine item's page number ??
I tried to use method SRichViewEdit1->getRVPageNoEx(ItemNo) but this method always return 1 even if document has more than one page.
I use SRichViewEdit version 1.3.1
Thanks in advance.

Posted: Thu Oct 25, 2007 10:04 am
by proxy3d
function getRVPageNoEx(DrawItemNo : Integer): Integer;

therefore

SRichViewEdit1.RichViewEdit.RVData.Item2FirstDrawItem(ItemNo, DrawItemPageNo);
PageNo = getRVPageNoEx(DrawItemPageNo);