|
by: Darren Grant |
last post by:
Hi there,
I've attempted to implement an Angle class. An Angle is a subset of an
integer, where the range is [0,360). All other operations should be
permitted.
The code works, I think... except (for example) a = b + 10;
needs to be a = b + (Angle) 10;
Could some kind soul comment on my code and show me how it could be
|
by: Charles Law |
last post by:
If I draw a rectangle, 6 inches by 2 inches, on a user control with a
PageUnit of Inches, I get a rectangle of 7 by 2.2 inches.
Is this what people would expect? I would have hoped that it was at least
scaled consistently.
Charles
|
by: Prasad More |
last post by:
Hello,
I am trying to write a text on Multi-page TIFF image using C# and .NET
GDI+. I have written following code to do this. When I execute this code I
get "Invalid Parameter User. at System.Drawing.Image.Save" error.
public void addAnnotationStampOnImage()
{
string strStamp = Path.GetFileNameWithoutExtension(_ImageFileName);
Size dSize;
Image iMulti = Image.FromFile(_ImageFileName);
|
by: Ervin |
last post by:
Hi All,
I've got a small program that allows you to write text to the front of a
postcard, and send it to someone. It works fine for about 10-15 requests,
then it just hangs. Specifically, it hangs at the creation of a StringFormat
object.
The deadline for the projects has already past, and I'm smashing my head
against the wall trying to figure this out.
|
by: Carl Gilbert |
last post by:
Hi
I am trying to draw a pie like shape on a form in the paint event. I am
then trying to draw a line running down the center of the pie. The code I
have attached at the bottom of this post does just this but there is
something wrong somewhere as when I resize the form, the line does not stay
over the center of the pie as expected.
I should imagine its just a case of something round the wrong way but I just
can't find what could be...
|
|
by: cwsullivan |
last post by:
Hi gang,
I have a grid full of particles in my program, and I want to find an
angle between two particles. I'm having trouble because it seems like
the answer depends on whether or not the target particle is above or
below, in front or behind the refernce particle.
If I have a reference particle at (10,10), and another particle at
(20,20), i'm currently finding the angle by:
angle = atan((10-20)/(10-20)) = 45 degrees. When I draw this...
|
by: chris.dannemiller |
last post by:
I have the following code
public static IntPtr CreateFont ( Font fnt )
{
LOGFONT logFont = new LOGFONT();
logFont.lfFaceName = fnt.Name;
logFont.lfHeight = -Win32API.MulDiv((int)fnt.Size,
Win32API.GetDeviceCaps(Win32API.GetDC(0), LOGPIXELSY), 72);
logFont.lfItalic = (byte) ((fnt.Italic) ? (0x01):(0x00));
logFont.lfStrikeOut = (byte) ((fnt.Strikeout) ? (0x01):(0x00));
|
by: r_ahimsa_m |
last post by:
Hello,
I am learning CSS and other WWW technologies. In the folowing definition
italic doesn't work:
h2
{
color: Brown;
text-decoration: italic;
}
|
by: Rip van Winkle |
last post by:
Here's a strange thing which took me hours to track down. I'd have
thought that 'font-style: italic;' was generally harmless, but
apparently not to IE7 and/or Vista.
The stripped-down version of the web page is at
http://www.wessex100.org.uk/index_demo.html and the stylesheet is at
http://www.wessex100.org.uk/shared/wessex_demo.css . Both validate.
The odd behaviour affects the width of the page displayed and thus the
placing of the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|