rctems
asked on
How do I position items in Infragistics.Documents.Report
How do I position items in Infragistics.Documents.Rep ort
Do I need to create a flow object and add columns?
Do I need to create a flow object and add columns?
ASKER
I think I have to use flows and columns?
Ryan
Ryan
yes you can try using flows. Are you having any problems using flows ??
ASKER
Learning as I go, do you have any example code?
-R
-R
Did you check out the links i provided? They seem to be having a lot of example code
ASKER
// Add a new Rectangle to the Site's shape factory.
Infragistics.Documents.Rep ort.Shapes .IRectangl e rectangle = shapesSite.Shapes.AddRecta ngle();
// Fill the rectangle with the color green.
rectangle.Brush = Brushes.Green;
// The outline of the rectangle will be black.
rectangle.Pen = Pens.Black;
// Set the height and width of the rectangle.
rectangle.Height = 100;
rectangle.Width = 400;
// Round the corners of the rectangle.
rectangle.Radius = 5;
// Place the rectangle on the Site at the coordinates 0,0.
// This will place the rectangle's upper-left point here.
// The same goes for all other binding rectangles of shapes.
rectangle.X = 0;
rectangle.Y = 0;
It looks like I can XY a rectangle on a canvas, is this for pdf ? can I XY text?
Infragistics.Documents.Rep
// Fill the rectangle with the color green.
rectangle.Brush = Brushes.Green;
// The outline of the rectangle will be black.
rectangle.Pen = Pens.Black;
// Set the height and width of the rectangle.
rectangle.Height = 100;
rectangle.Width = 400;
// Round the corners of the rectangle.
rectangle.Radius = 5;
// Place the rectangle on the Site at the coordinates 0,0.
// This will place the rectangle's upper-left point here.
// The same goes for all other binding rectangles of shapes.
rectangle.X = 0;
rectangle.Y = 0;
It looks like I can XY a rectangle on a canvas, is this for pdf ? can I XY text?
ASKER
In C#:
// Draw a Rectangle with a Hyperlink inside.
canvas1.StartHyperlink(1, 0, 10);
canvas1.Pen = new Pen(Colors.Red, 5);
canvas1.Brush = new SolidColorBrush(new Color(255, 240, 240));
canvas1.DrawRectangle(50, 50, 150, 100, PaintMode.FillStroke);
canvas1.AddHyperlinkArea(5 0, 50, 150, 100);
canvas1.EndHyperlink();
// Add text to the rectangle (more accurately, overtop the rectangle).
canvas1.Font = new Font("Times New Roman", 18, FontStyle.Italic);
canvas1.Brush = Brushes.BlueViolet;
canvas1.DrawString(70, 90, "Go to page ¹2");
Looks like I can if I use a string method. But can I use canvas for pdf or is it only xps?
// Draw a Rectangle with a Hyperlink inside.
canvas1.StartHyperlink(1, 0, 10);
canvas1.Pen = new Pen(Colors.Red, 5);
canvas1.Brush = new SolidColorBrush(new Color(255, 240, 240));
canvas1.DrawRectangle(50, 50, 150, 100, PaintMode.FillStroke);
canvas1.AddHyperlinkArea(5
canvas1.EndHyperlink();
// Add text to the rectangle (more accurately, overtop the rectangle).
canvas1.Font = new Font("Times New Roman", 18, FontStyle.Italic);
canvas1.Brush = Brushes.BlueViolet;
canvas1.DrawString(70, 90, "Go to page ¹2");
Looks like I can if I use a string method. But can I use canvas for pdf or is it only xps?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Anyways here are some links that might help you
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Web_Infragistics_Document_Engine_Whats_New_20073.html
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/DocumentEngine_Report_Elements.html
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/DocumentEngine_Brushes.html
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/DocumentEngine_Canvas.html
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/DocumentEngine_Colors.html
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/DocumentEngine_Fonts.html