[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I position items in Infragistics.Documents.Report

Posted on 2007-10-16
8
Medium Priority
?
1,501 Views
Last Modified: 2013-11-07
How do I position items in Infragistics.Documents.Report

Do I need to create a flow object and add columns?
0
Comment
Question by:rctems
  • 4
  • 4
8 Comments
 

Author Comment

by:rctems
ID: 20097813
I think I have to use flows and columns?

Ryan
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20098307
yes you can try using flows. Are you having any problems using flows ??
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:rctems
ID: 20098385
Learning as I go, do you have any example code?

-R
0
 
LVL 21

Expert Comment

by:surajguptha
ID: 20100716
Did you check out the links i provided? They seem to be having a lot of example code
0
 

Author Comment

by:rctems
ID: 20101046
// Add a new Rectangle to the Site's shape factory.
Infragistics.Documents.Report.Shapes.IRectangle rectangle =   shapesSite.Shapes.AddRectangle();
// 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?
0
 

Author Comment

by:rctems
ID: 20101062
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(50, 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?
0
 
LVL 21

Accepted Solution

by:
surajguptha earned 2000 total points
ID: 20103237
>> It looks like I can XY a rectangle on a canvas, is this for pdf ? can I XY text?
Yes
>>Looks like I can if I use a string method. But can I use canvas for pdf or is it only xps?
Yes the whole document class in Infragistics is for both PDF and XPS
The Infragistics Document Engine is a complete, self-contained code library, allowing you to generate exceptional reports in both Portable Document Format (PDF) and XML Paper Specification (XPS) format.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month19 days, 5 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question